<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<link rel="stylesheet" type="text/css" href="../../../Themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="../../../Themes/icon.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/demo.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/common.css">
		<script type="text/javascript" src="../../../JS/jquery.min.js"></script>
		<script type="text/javascript" src="../../../JS/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="../../../JS/common.js"></script>
		<script type="text/javascript" src="../../../JS/LogisticsShareFunction/SearchShareFunction.js"></script>
	</head>

	<body style="padding: 0px;">
		<div class="easyui-layout" style="width:100%;height:550px;">
			<div id="div_search" data-options="region:'north'" style="height:80px;">
			</div>
			<div data-options="region:'center'">
				<div class="easyui-tabs" id="div_tabs" style="width: 100%;">
					<div title="勾选销售单" style="overflow:hidden">
						<iframe id="ifrmList" src="WareHouseOutList.html" style="width: 100%;height: 435px;" frameborder="0" scrolling="no"></iframe>
					</div>
				</div>
			</div>
		</div>
	</body>
	<script type="text/javascript">
		var searchType = SEARCH_CUSTOMER_TYPE + SEARCH_CUSTOMER_NAME + SEARCH_DISTRIBUTION_DATE_START+SEARCH_DISTRIBUTION_DATE_END;
		var content = buildSearchOptions(searchType, "");
		$("#div_search").append(content);
		$(document).ready(function(){
			$("#search_state").textbox('setValue','入库完成');
			$("#search_state").hide();
		})
		
		function doSearch() {
			var searchCondition = processSearchCondition();
			var _url = "";
			_url = RemoteLinkAddress + "/logistics/salesorder/list.do?STATE=入库完成&" + searchCondition;
			$("#ifrmList")[0].contentWindow.$('#dg').datagrid('options').url = _url;
			$("#ifrmList")[0].contentWindow.$('#dg').datagrid('reload');
		}
		Tabs_Hover();
	</script>

</html>